﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using LogManager.Base;

namespace LogManager.ViewModels
{
    /// <summary>
    /// Display the count of appearances of a dicstinct level
    /// </summary>
    public class LogEventsLevelViewModel
    {
        /// <summary>
        /// The log for which these levels are defined
        /// </summary>
        public ILog Log { get; set; }

        /// <summary>
        /// The count of appearances of a distinct level
        /// </summary>
        public IDictionary<string, int> Levels { get; set; }
    }
}